<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // function Person(){}
      /*
        1. 独立出类函数的构造对象的功能
        2. 类不能当作函数执行，必须 ✔ new Person();❌ Person()
      */
      class Person {}

      new Person(); //

      console.log(typeof Person); // function
    </script>
  </body>
</html>
